package top.xxyu.web.login;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@Entity
@Slf4j
@Table(name = "user")
public class User implements Serializable {

    @Id
    private String id;
    @Column(name = "user_name")
    private String name;
    @Column(name = "user_password")
    private String password;

}
